<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            font-size: 22px;
        }
        
        .title {
            margin-left: 500px;
        }
        
        #list {
            margin-left: 455px;
        }
    </style>
</head>

<body>
    <p class="title">学生信息表</p>
    <ul id="list">
        <li style="list-style-type: none">信息加载中……</li>
    </ul>
    <script>
        const students = [{
            username: 'Cai',
            age: 18,
            sex: 'male'
        }, {
            username: 'zhangsan',
            age: 30,
            sex: 'male'
        }, {
            username: 'lisi',
            age: 13,
            sex: 'male'
        }]

        const list = document.getElementById('list');
        let html = '';
        for (let i = 0; i < students.length; i++) {
            html += `<li>我的名字是：${students[i].username};${students[i].sex};${students[i].age}</li>`
        }
        list.innerHTML = html;
    </script>
</body>

</html>